c:
cd "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN"

stsadm.exe -o deactivatefeature -name AdvancedSearchWebParts -url http://mausearch

pause

stsadm.exe -o uninstallfeature -name AdvancedSearchWebParts

pause 

stsadm -o retractsolution -name "SPAdvancedSearch.wsp" -immediate -url http://mausearch
stsadm -o execadmsvcjobs

stsadm -o deletesolution -name "SPAdvancedSearch.wsp"

pause